package constants;

import java.util.EnumMap;
import java.util.Map;

import data.Environment;

public class NumberConstants {
	public static final double MIN_CHANGE = 0.00001;
	public static final double FRACTION = 0.001;
	public static final int MAX_ITERATIONS = 13500;
	public static final int STARTING_RANK = 1500;
	public static final int MIN_NUM_OF_GAMES = 1;
	public static final int NUM_OF_BALANCE_TIES = 1;
	public static final double FIX_WEIGHT = 1;
	public static final double BALANCE_WEIGHT = 1;
	public static Map<Environment, Double> environmentWeight = new EnumMap<Environment, Double>(Environment.class);
	static {
		environmentWeight.put(Environment.tournament, 1d);
		environmentWeight.put(Environment.campaign, 0.9d);
		environmentWeight.put(Environment.league, 0.9d);
		environmentWeight.put(Environment.friendly, 0.8d);
	}
}
